<ui:composition template="/WEB-INF/templates/test-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ats-std="http://java.sun.com/jsf/composite/components/student">

	<ui:define name="main-content">
		<h:form>
			<p:wizard flowListener="#{wizardMB.onFlowProcess}">
				<p:tab title="First Tab">
					<p:panel header="First Step">
						<ats-std:singleStudent
							selectedEntity="#{tstStudentsMB.firstEntity}" />
					</p:panel>
				</p:tab>

				<p:tab title="Second Tab">
					<p:panel header="Second Step">
						<ats-std:singleStudent
							selectedEntity="#{tstStudentsMB.secondEntity}" />
					</p:panel>
				</p:tab>
				<p:tab title="Third Tab">
					<p:panel header="Third Step">
						<ats-std:singleStudent
							selectedEntity="#{tstStudentsMB.thirdEntity}" />
					</p:panel>
				</p:tab>

			</p:wizard>
		</h:form>


	</ui:define>

</ui:composition>

